﻿@model Wiwi.ViewModels.ProfileView 
@{
    ViewBag.Title = "Home Page";
    var HomeDir = System.Configuration.ConfigurationManager.AppSettings["HomeDirectory"].ToString(); 
}
 <div class="grid_16" id="wiwi-tag-cloud">

	        <p>Tags here, wooo, floatttyyy!</p>

        </div>	
<script type="text/jscript" >
    $(document).ready(function () {
        //UpdateData();
    });
        
  //  ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    eval(function (p, a, c, k, e, r) { e = function (c) { return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] } ]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p } ('7 j=x y();A.B.q({C:5(a){7 b={r:\'1\',9:\'D\',8:E};7 a=$.q(b,a);7 c="#"+$(0).F("G");7 d=s($(0).k("H"))-I;7 e=s($(0).k("J"))-K;7 f=\'\';$(0).k("L-M","N");$(c).g().h(5(i){$(0).k({"z-O":i,"P":"Q"})});$(c).g().h(5(){$(0).l({m:((2.1()*R)+4)+"3","n":(2.1()*e)+"3","o":(2.1()*d)+"3"},a.8,a.9)});$(0).S(5(){$(0).T();U(j[c])});V(a.r){t\'W\':{f=\'$("\'+c+\'").g().h(5(){$(0).l({m: ((2.1()*p)+6)+"3", "n": (2.1()*\'+e+\')+"3"}, \'+a.8+\', "\'+a.9+\'" );});\';u}t\'X\':{f=\'$("\'+c+\'").g().h(5(){$(0).l({m: ((2.1()*p)+6)+"3", "o":(2.1()*\'+d+\')+"3"}, \'+a.8+\', "\'+a.9+\'" );});\';u}Y:{f=\'$("\'+c+\'").g().h(5(){$(0).l({m: ((2.1()*p)+6)+"3", "n": (2.1()*\'+e+\')+"3", "o":(2.1()*\'+d+\')+"3"}, \'+a.8+\', "\'+a.9+\'" );});\'}}j[c]=v(f,a.8+w);$(0).Z(5(){j[c]=v(f,a.8+w)})}});', 62, 62, 'this|random|Math|px||function||var|speed|easein|||||||children|each||tcTimer|css|animate|fontSize|top|left|34|extend|direction|parseInt|case|break|setInterval|50|new|Array||jQuery|fn|tagCloud|linear|3000|attr|id|width|70|height|30|list|style|none|index|position|absolute|36|mouseover|stop|clearInterval|switch|vertical|horizontal|default|mouseout'.split('|'), 0, {}))

    $(function(){
$('#DivTagCloud').tagCloud();
});

</script>
<!-- Tag Cloud -->

 @*<div class="grid_16" id="DivTagCloud">

<a href="#">ASP</a>
<a href="#">SQL</a>
<a href="#">AJAX</a>
</div>
*@
<div class="clear"></div>

<div class="grid_8 box-shadow" id="wiwi-top-wants">
     <h4 class="tabbed">Top wants</h4>
     
      @foreach (var wnt in Model.Want)
      {      
          @Html.Partial("~/Views/Shared/_WantControl.cshtml", wnt)
        
	<hr />   
      }
    @Html.ActionLink("More Recent", "MoreRecent", "Home", new { pageid = 1 },null)
</div>

    <div class="grid_8 box-shadow" id="wiwi-recent-wants">
    	<h4 class="tabbed xWide">Recently wanted</h4>
        <div class="wiwi-pitches-box">
	
		<div class="left-col">
			<img src="@Url.Content("~/Content/i/gravitar-01.png")" width="48" height="48" alt="userName" />
		</div>
		
		<div class="right-col bigger-icon">
			<div class="user-choice">
				<a href="#delete" class="delete">X</a><a href="#reply" class="reply">?</a>
			</div>
	
	    	<h5>HackerChick<em>Wants a</em><br /><span>Posted 2 days ago</span></h5>
	    	
    		<p>Skyline gtr between 10-14k. <br />Will swap for non turbo in good condition.</p>
	    	
	    </div>
	</div>    

	<hr />

    <div class="wiwi-pitches-box">
	
		<div class="left-col">
			<img src="@Url.Content("~/Content/i/gravitar-01.png")" width="48" height="48" alt="userName" />
		</div>
		
		<div class="right-col bigger-icon">
			<div class="user-choice">
				<a href="#delete" class="delete">X</a><a href="#reply" class="reply">?</a>
			</div>
	
	    	<h5>HackerChick<em>Wants a</em><br /><span>Posted 2 days ago</span></h5>
	    	
    		<p>Skyline gtr between 10-14k. <br />Will swap for non turbo in good condition.</p>
	    	
	    </div>
	</div>    

	<hr />
    </div>

    